/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package figuras;

/**
 *
 * @author 66785338
 */


abstract public class Figura {
   //AL SER ABSTRACTA NO PUEDE TENER INSTANCIAS DIRECTAS!!!
    
   private double x;
   private double y;
   
   abstract double area();
   
    /**
     * @return the x
     */
    public double getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(double x) {
        this.x = x;
    }

    /**
     * @return the y
     */
    public double getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(double y) {
        this.y = y;
    }
    
}
